﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace wt.wine.Domain.Entities
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class usertable
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string account { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string password { get; set; }
        /// <summary>
        /// 角色id
        /// </summary>
        public int roleid { get; set; }
        /// <summary>
        /// 状态：0 正常 -1 已删除
        /// </summary>
        public int state { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime createtime { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime updatetime { get; set; }
        /// <summary>
        /// 上级id
        /// </summary>
        public int parentid { get; set; }
        /// <summary>
        /// 修改人id
        /// </summary>
        public int userpid { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string address { get; set; }
        /// <summary>
        /// 员工姓名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string remark { get; set; }
    }
}
